from sanic import Sanic
from sanic.response import text

app = Sanic(__name__)

@app.route("/test")
async def test(request):
    return text("Hello, Sanic!")

if __name__ == "__main__":
    app.run(host="127.0.0.1", port=8001, workers=4)